/*
 * @(#)TOrder.java	2013-2-4 下午8:55:02
 * order-jsp-servlet
 * Copyright 2013 Thuisoft, Inc. All rights reserved.
 * THUNISOFT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.thunisoft.order.domain;

import java.util.Date;

/**
 * TOrder
 * 
 * @author ice
 * @version 1.0
 * 
 */
public class TOrder {
    /**
     * id
     */
    private String id;
    /**
     * 订单名称
     */
    private String name;
    /**
     * 创建时间
     */
    private Date time;
    /**
     * 创建者名称
     */
    private String username;
    /**
     * 订单状态
     */
    private String state;

    public TOrder() {
    }

    public TOrder(String id, String name, Date time, String username,
            String state) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.username = username;
        this.state = state;
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the time
     */
    public Date getTime() {
        return time;
    }

    /**
     * @param time
     *            the time to set
     */
    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username
     *            the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the state
     */
    public String getState() {
        return state;
    }

    /**
     * @param state
     *            the state to set
     */
    public void setState(String state) {
        this.state = state;
    }

}
